package com.cskaoyan.service;

import com.cskaoyan.model.Order;
import com.cskaoyan.model.OrderGoods;
import com.cskaoyan.model.bo.*;
import com.cskaoyan.model.vo.DataVO;
import com.cskaoyan.model.vo.OrderDetialVO;
import com.cskaoyan.model.vo.WxOrderListVO;

import javax.servlet.http.HttpSession;
import java.math.BigDecimal;
import java.util.Map;

/**
  *@ClassName: OrderService
  *@Description: TODO 订单模块service接口
  *@Author: zk
  *@Date: 2022/5/5 20:14
  *@Version: 1.0
 **/
public interface OrderService {
    DataVO<Order> query(BaseParamBO param, OrderListBO orderListBO);

    OrderDetailBO queryOrderDetail(Integer id);

    void updateRefund(Map order);

    void updateShip(Map order);

    boolean delete(Map orderId);

    DataVO queryWxOrderList(WxOrderBO wxOrderBO);

    OrderDetialVO selectDetail(Integer orderId);

    void updateUserRefund(Map map);

    void updateUserCancel(Map map);

    void updateUserDelete(Map map);

    void updateUserConfirm(Map map);

    OrderGoods selectUserGoods(Integer goodsId,Integer orderId);

    void updateUserComment(WxOrderCommentBO wxOrderCommentBO);

    Integer insertOrder(WxSubmitBO wxSubmitBO);

    int updatePrepay(Map map, HttpSession session);
}
